package com.im.netty.message;

import java.util.List;

import com.im.netty.protocol.Command;
import com.im.netty.protocol.Packet;

/**
 * 
 * @author yutao
 */
public class CreateGroupResponsePacket extends Packet {

	private Boolean success;

	private String groupId;

	private List<String> userNameList;

	/**
	 * 
	 * @see com.im.netty.protocol.Packet#getCommand()
	 */
	@Override
	public Byte getCommand() {
		return Command.CREATE_GROUP_RESPONSE;
	}

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public List<String> getUserNameList() {
		return userNameList;
	}

	public void setUserNameList(List<String> userNameList) {
		this.userNameList = userNameList;
	}

}
